<?php 
if (isset($accept_message))
   echo'<div class="alert alert-success"><strong>Úspešné vykonanie!</strong> '.$accept_message.'</div>';	

//    echo '<div align="center"><p class="accept_message">' . $accept_message . '</p></div>';
if (isset($error_message))
    echo'<div class="alert alert-error"><strong>Upozornenie!</strong> '.$error_message.'</div>';
echo (isset($status))?$status:"";
echo form_open('auth/pass_change',array("name" => 'pass_change_form', ));
echo form_label('Heslo stare', 'oldpass');
echo form_input($oldpass);
echo '<br/>';
echo form_label('Heslo nove', 'password');
echo form_input($password);
echo '<br/>';
echo form_label('Heslo nove2', 'password2');
echo form_input($password2);
echo '<br/>';
// echo form_submit('Submit', 'Zmeniť');
?>
<input type="submit" name="Submit" value="Zmeniť" class="btn btn-info" style="height:2em;">
<?php

echo form_close();


?>
